package service;

/**
 * Created with IntelliJ IDEA.
 * Author: Kostika Gorica
 * User: kostika
 * Date: 2/18/13
 * Time: 12:22 PM
 */
public class CustomProtocol {
    public static final String XML_VERSION = "<?xml version=\"1.0\" encoding=\"iso-8859-1\"?>";
    public static final String SERVICE_START = "<service>";
    public static final String SERVICE_STOP = "</service>";
    public static final String STATUS_START = "<status>";
    public static final String STATUS_STOP = "</status>";
    public static final String RESPONSE_START = "<response>";
    public static final String RESPONSE_STOP = "</response>";

    public static final String BAD_REQUEST = "<code>BAD_REQUEST</code>";
    public static final String NO_CONTENT = "<code>NO_CONTENT</code>";
    public static final String SERVER_ERROR = "<code>SERVER_ERROR</code>";
    public static final String NOT_IMPLEMENTED = "<code>NOT_IMPLEMENTED</code>";
    public static final String STATUS_OK = "<code>STATUS_OK</code>";


    public static final String INVALID_DEPARTMENT =
            "<detail>Te dhenat e departamentit nuk jane te sakta</detail>";
    public static final String PERSOM_FAILED_INSERT =
            "<detail>Personi nuk u regjistrua!</detail>";
    public static final String DEPARTMENT_FAILED_INSERT =
            "<detail>Regjistrimi nuk u krye!!!</detail>";
    public static final String REGISTRATION_SUCCESS =
            "<detail>Regjistrimi u krye me sukses!</detail>";
    public static final String DELETE_SUCCESS =
            "<detail>Veprimi i Fshirjes u krye me sukses!</detail>";
    public static final String DELETE_FAILED =
            "<detail>Veprimi i Fshirjes nuk u krye!</detail>";


    public static final String BAD_REQUEST_DEFAULT_MESSAGE = "<detail>Kerkesa nuk ishte e sakte!</detail>";
    public static final String NO_CONTENT_DEFAULT_MESSAGE = "<detail>Kerkimi nuk dha asnje Rezultat</detail>";
    public static final String SERVER_ERROR_DEFAULT_MESSAGE = "<detail>Gabim i panjohur ne Server</detail>";
    public static final String NOT_IMPLEMENTED_DEFAULT_MESSAGE = "<detail>Metoda nuk eshte implementuar</detail>";
    public static final String START_DETAIL = "<detail>";
    public static final String STOP_DETAIL = "</detail>";

}
